﻿using Entity.Enums;
using Entity.Models.dto;
using Entity.Models.Entities;
using Entity.Models.vo;
using System;
using System.Collections.Generic;
using System.Text;

namespace IBLL
{
    /// <summary>
    /// 工作流步骤BLL接口
    /// </summary>
    public interface IWorkFlow_InstanceStepBLL
    {

        /// <summary>
        /// 工作流步骤数据列表、搜索
        /// </summary>
        /// <param name="WorkFlow_InstanceStepName">工作流步骤名称</param>
        /// <param name="page">页数</param>
        /// <param name="limit">数据条数</param>
        /// <returns></returns>
        public List<WorkFlow_InstanceStepDTO> getworkFlow_InstanceStepList(string userId, string WorkFlow_InstanceStepName, string page, string limit, out int cont);
     
        /// <summary>
        /// 审核
        /// </summary>
        /// <param name="id"></param>
        /// <param name="reviewReason"></param>
        /// <param name="reviewStatusb"></param>
        /// <returns></returns>
        bool UpdataWorkFlow_InstanceStep(string id, string reviewReason, string userId, int num, WorkFlow_InstanceEnums.WorkFlow_InstanceStepEnums reviewStatusb);

        /// <summary>
        /// 步骤条
        /// </summary>
        /// <param name="instanceId">实例id</param>
        /// <returns></returns>
        object geStepList(string instanceId);

        /// <summary>
        /// 修改页面数据
        /// </summary>
        /// <param name="instanceSteID">步骤id</param>
        /// <returns></returns>
        object getUpdataWorkFlow_InstanceSteptList(string instanceSteID);

        /// <summary>
        /// 获取实例日志信息
        /// </summary>
        /// <param name="InstanceId"></param>
        /// <returns></returns>
        object getLogList(string instanceId);
    }
}
